package com.seanLab.dao;

import com.seanLab.domain.Image;

import java.util.Collection;
import java.util.List;

/**
 * Created by ailly on 17-8-27.
 */
public interface ImageDao {
    int insertImage(Image image);

    int insertImageCollection(List<Image> imageList);

    int updateImageCollection(List<Image> imageList);

    int removeImageById(String id);

    int updateImageById(String id);

    Collection<Image> getAllImages();

    Image getImageById(String id);

}
